package com.chixing.day09.Enum;

public enum DeliverOrderStatus {
    WAIT_DISPATCHER(0, "待调度"),
    ORDER_TAKEN(20, "已接单"),
    PICKED_UP(30, "已取货"),
    HAS_DELIVERED(50, "已送达"),
    HAS_CANCLEED(90, "已取消");

    private int code;
    private String msg;

    private DeliverOrderStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "DeliverOrderStatus{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }


}
